package model.happy;

import java.sql.SQLException;

import model.admin.OptionalServiceVO;
import model.album.HappyalbumVO;
import model.member.MemberVO;

public class UploadFileService {
	private UploadFileDao uploadFileDao;
	public UploadFileService(UploadFileDao uploadFileDao){
		this.uploadFileDao=uploadFileDao;
	}
	public void insertHappyTime(UploadFileVO uvo) throws SQLException {
		uploadFileDao.insertHappyTime(uvo);
	}
//////////////////////////////////////////////////////////////////////////
	public OptionalServiceVO getOptimalService(MemberVO mvo) throws SQLException {
		
		return uploadFileDao.getOptimalService(mvo);
	}
	public void insertalbum(HappyalbumVO hvo) throws SQLException {
		uploadFileDao.insertalbum(hvo);
		
	}

}
